package com.xiangge.db.repository;

import com.xiangge.db.pojo.SynthesizeCategory;
import com.xiangge.db.pojo.SynthesizeGoods;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author lsy_server
 */
@Repository
public interface SynthesizeCategoryRepository extends JpaRepository<SynthesizeCategory, Long> {
    List<SynthesizeCategory> findAllByPid(Integer pId);

    List<SynthesizeCategory> findAllByLevel(Integer level);
}
